package cn.shape;

import java.awt.*;

public class LineShape extends Shape{

    @Override
    public void draw(Graphics2D g) {
        g.drawLine(x1,y1,x2,y2);
    }
}
